#ifndef __SOCKET_H
#define __SOCKET_H

#include <stdio.h>
#include <sys/types.h> /* See NOTES */
#include <sys/socket.h>
#include <stdlib.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <netinet/tcp.h>
#include <errno.h>

#define SOCKET_ADDRESS "192.168.137.58"
#define SOCKET_PORT 8054

int socket_init();
int set_keepalive(int sockfd, int keepalive_idle, int keepalive_interval, int keepalive_count);

#endif